export enum YixiantongFieldItem {
  Food = 'food',
  Hotel = 'hotel',
  Ktv = 'ktv',
  Massage = 'massage',
  View = 'view'
}

export enum YixiantongCities {
  BJ = '北京',
  SH = '上海',
  GZ = '广州',
  SZ = '深圳',
}

export interface IFieldItemData {
  readonly field: YixiantongFieldItem;

  readonly id: string;

  readonly name: string;

  readonly star: number;

  readonly score: number;

  readonly defaultPrice: number;

  readonly cityName: YixiantongCities;
}

export interface HomeDataEntity {
  foodDatas: Omit<IFieldItemData, 'field'>[];
  hotelDatas: Omit<IFieldItemData, 'field'>[];
  ktvDatas: Omit<IFieldItemData, 'field'>[];
  massageDatas: Omit<IFieldItemData, 'field'>[];
  viewDatas: Omit<IFieldItemData, 'field'>[];
}

export enum ColumnStatus {
  Normal = 1,
  Deleted = 0,
  Abnornal = -1
}
